package com.yuanfeng.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品属性值表
 * @TableName goods_property
 */
@TableName(value ="goods_property")
@Data
public class GoodsPropertyEntity implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer propertyId;

    /**
     * 属性名称
     */
    private String propertyName;

    /**
     * 所属类型id
     */
    private Integer typeId;

    /**
     * 属性值列
     */
    private String propertyItem;

    /**
     * 是否被搜索。0为不搜索、1为搜索
     */
    private Boolean propertyIsSearch;

    /**
     * 显示类型
     */
    private Object propertyFormat;

    /**
     * 排序
     */
    private Short propertyDisplayorder;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}